package com.hyacinth.forumbite.dao;

import com.hyacinth.forumbite.model.ArticleReply;

import java.util.List;

public interface ArticleReplyMapper {
    int insert(ArticleReply row);

    int insertSelective(ArticleReply row);

    ArticleReply selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ArticleReply row);

    int updateByPrimaryKey(ArticleReply row);

    /**
     * 根据帖子id查询
     *
     * @param id
     * @return
     */
    List<ArticleReply> selectArticleReplyList(Long id);
}